package cn.itcast.feign.loggerLevel;

import feign.Logger;
import org.springframework.context.annotation.Bean;

//Java代码来修改日志级别
public class DefaultFeignConfiguration {
    @Bean
    public Logger.Level feignLogLevel() {
        // 日志级别为NONE    BASIC    HEADERS    FULL
        return Logger.Level.BASIC;
    }
}